package cc.wfu.type.annotation;

import java.lang.annotation.*;

/**
 * @Author: jia-qiang ljq1024.cc
 * @desc: 权限注解
 * @Date: 2024-05-22-15:31
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface PreAntAuthorize {
    PreAntAuthorizeValue value() default PreAntAuthorizeValue.hasAnyRole;
    String[] antAuthorities();
}
